﻿<%@ Page Language="C#" MasterPageFile="~/Admin/AdminMasterPage.master" AutoEventWireup="true"
    CodeFile="ViewRegions.aspx.cs" Inherits="Admin_ViewRegions" Title="Untitled Page" %>

<asp:Content ID="Content3" ContentPlaceHolderID="pnlMain" runat="Server">
 <br />
    <a href="addEditRegion.aspx">Add Region</a><br />
    <p class="h2">
        Manage Region List</p>
    <div id="divError" runat="server">
    </div>
    <div class="divGrid">
        <asp:GridView ID="gvRegion" runat="server" AutoGenerateColumns="False" EmptyDataText="No Record Found"
            DataKeyNames="RegionID"
            OnRowDataBound="gvRegion_RowDataBound">
            <Columns>
                <asp:BoundField DataField="RegionName" HeaderText="Region Name" />
                <asp:BoundField DataField="CountryID" HeaderText="Country Name" />
                <asp:HyperLinkField DataNavigateUrlFields="RegionID" DataNavigateUrlFormatString="addEditRegion.aspx?id={0}"
                    Text="Edit" ItemStyle-Width="30" />
            </Columns>
        </asp:GridView>
    </div>
</asp:Content>
